<script>
import { mapActions, mapMutations, mapState } from 'vuex';
import request from '@/utils/request';
export default {
	onLaunch: function() {
		let _self = this;
		uni.getStorage({
			key: 'userinfo',
			success: function(data) {
				_self.$store.commit('user/LOGIN_INFO', data.data);
			}
		});
		
	},
	onShow: function() {
		console.log('App Show');
	},
	onHide: function() {
		console.log('App Hide');
	}
};
</script>

<style lang="scss">
@import 'uview-ui/index.scss';
@import '/static/style/iconfont.css';


</style>
